|
900260 Automated Visual Event Detection and Classification : mbarivision Installation - Step 1. Build iLab Saliency Toolkit
This page last changed on Jun 02, 2010 by dcline.
Getting the Saliency ToolkitMost importantly, mbarivision requires the Saliency Toolkit from the ilab at USC. The Saliency toolkit is distributed as source files, so you must compile it. To get the Toolkit, you must ask for permission to use it by following the instructions on the bottom of this page: http://ilab.usc.edu/toolkit/downloads.shtml. Let them know you will be using this with the AVED software from MBARI. As long are you are using the Toolkit for academic or research use, you will be granted access to the code. You will be emailed a user login and password to check out the code from the ilab SVN repository. If you don't have Subversion installed, you can install it using: yum install subversion Once you get the password to the iLab repository, check-out the saliency code from the date 2008-04-15 using svn. Important - we unfortunately are working with an older version of the toolkit because we haven't had time to port our code to work with the latest saliency revision. So, to be compatible with the version we are working with, you must checkout the release on the date 2008-04-15. The checkout command: svn checkout --username anonsvn svn://iLab.usc.edu/trunk/saliency --revision {2008-04-15} saliency
Requirements for building the Saliency ToolkitNext, install the Saliency Toolkit library dependencies using yum if needed. These are the dependencies we have found from our last experience installing it on Fedora Core 9 that may be needed. These may already be installed on your system, but it's always a good idea to check first:
You will also need the gcc compiler version gcc-3.4.X. We suggest 3.4.3. If you are running a more recent version e.g. gcc-4.3 it will not compile correctly. Download gcc from here: This is a good site to orient you on how to install a second gcc compiler: When the new compiler is installed, you can use this new compiler in the saliency build by setting the following environment variables to point to your gcc-3.4.3 version before running configure.
Building ffmpeg from sourceIf you cannot get ffmpeg in a RPM, to install ffmpeg from sources, get the last version. Checkout ffmpeg, build, and install (this assumes you have sudo permissions to install applications to /usr): svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg cd <path-to-ffmpeg> ./configure --enable-shared --prefix=/usr make sudo make install Building the Saliency ToolkitWhen all Saliency dependencies are installed, the required build command to work with the AVED software, is the make core and tprogs build rules with the following command: cd <path-to-saliency> ./configure --without-qtdir --enable-force32 make core make tprogs
Now, go get a cup of coffee, because this step takes a while. It took 28 minutes on a dual-XEON 2.4 GHz server. When you are done, go to Step 2. Build and Install XML Libraries |
| Document generated by Confluence on Feb 03, 2026 14:12 |